"""
解决反调试
搜索location.href  搜索到了 D()  f.url
window.close
history.back()


setInterval/setTimeout
ondevltool open/close

事件监听器断点


启动器

"""



# https://www.c5game.com/csgo?appId=730&page=5&limit=42&sort=2


import requests
from lxml import etree

page = 2
res = requests.get(f"https://www.c5game.com/csgo?appId=730&page={page}&limit=42&sort=2")
tree = etree.HTML(res.text)
items = tree.xpath('//div[@class="goodsCard"]//div[@class="li-btm"]/h4/text()')
for item in items:
    print(item.strip())